// JavaScript Document
<? 
	include('../includes/config.php');
	global $db, $FullUrl;
	
	$sql = "select * from constant where name = 'FullUrl'";

	$FullUrls = $db->getRow($sql);
	
	$FullUrl = $FullUrls['value_vn'];
?>

function IncludeJavaScript(jsFile)
{
	document.write('<script type="text/javascript" src="'+ jsFile + '"></script>');
}
function IncludeJavaScriptCode(code)
{
	document.write('<script type="text/javascript">'+ code + '</script>');
}

IncludeJavaScript('<?=$FullUrl?>/js/jquery.js');
IncludeJavaScript('<?=$FullUrl?>/js/script.js');

IncludeJavaScript('<?=$FullUrl?>/js/jquery-1.7.1.min.js');
IncludeJavaScript('<?=$FullUrl?>/js/jquery.clip.js');
IncludeJavaScript('<?=$FullUrl?>/js/jquery.facets.js');
IncludeJavaScript('<?=$FullUrl?>/js/exfunction.js');

IncludeJavaScript('<?=$FullUrl?>/js/function.js');
IncludeJavaScript('<?=$FullUrl?>/js/validation.php');
IncludeJavaScript('<?=$FullUrl?>/js/jquery.ad-gallery.js');
IncludeJavaScript('<?=$FullUrl?>/js/ga.js');
